| dwmrdapd(8) | System Manager's Manual | dwmrdapd(8) |
dwmrdapd — Server
to fetch RDAP data and cache IPv4 to country code mappings
dwmrdapd |
[-c configuration_file]
[-p pid_file]
[-d] |
dwmrdapd is the server portion of a system
for storing and updating IPv4 address to country code mappings. It will
query the NIC registries' RDAP servers when necessary, and stores only the
IPv4 address to country code mappings locally. It may be qeuried for the
country code of a given IPv4 address with
dwmrdapc(1). Other clients
of dwmrdapd include
mcblockd(8) and
mcflowd(8).
The following command line options are available:
-c
configuration_file-p
pid_filedwmrdapd will
store its PID in this file at startup and remove the file on SIGTERM. The
default is /var/run/dwmrdapd.pid-ddwmrdapd(8) does not ship with a database. It is wise to create one before starting it the first time, to avoid the latency of RDAP lookups. Some of the registry RDAP servers are painfully slow (LACNIC in particular). Currently, the database can be created from a GeoLite2 database by using geolite2db(1) or an ipdeny.com database using ipdeny2db(1).
dwmrdapd configuration file. See
dwmrdapd.conf(5)
for more information and
/usr/local/etc/dwmrdapd.conf.sample for an
example.dwmrdapd default database file, which may be
changed in
dwmrdapd.conf(5).dwmrdapd private key file, created with
dwmauth(1). This file
should be owned by root with permissions 0600. It must contain the private
part of a 2048-bit RSA key pair.dwmrdapd public key file, created with
dwmauth(1). This file
should be owned by root with permissions 0600. It must contain the public
part of a 2048-bit RSA key pair.dwmrdapd authorized keys file. This file contains
a list of public keys (one per line) that are permitted access to
dwmrdapd.dwmrdapd.conf(5), dwmauth(1), dwmrdapc(1), geolite2db(1), ipdeny2db(1)
Copyright (c) 2017 Daniel W. McRobb dwm@mcplex.net
| April 10, 2017 | mcplex.net |